package com.itheima.myextends.demo01;

/**
 * @Author 王加鑫
 * @Date 2021/5/6 15:00
 * @Version 1.0
 */
public class GrandFanther {
    int a = 10;

    public void smoke(){
        System.out.println("抽烟");
    }

    public void method(){
        System.out.println(a);
    }
}
